ego trip (Noun) — An act undertaken to increase your own power and influence or to draw attention to your own importance.
ego trip (Verb) — Act in a way that attracts attention. ex. "This teacher always egotrips and the students don't like him"